package down;

public class Student extends Person{
    long number;
    int math;
    int english;
    int computer;

    public Student(String name, char sex, int age, long number, int math, int english, int computer) {
        super(name, sex, age);
        this.number = number;
        this.math = math;
        this.english = english;
        this.computer = computer;
    }

    public Student(String name, char sex, int age) {
        super(name, sex, age);
    }
    public double aver(){
        return 0;
    }
    public int max(){
        return 1;
    }
    public int min(){
        return -1;
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
